package com.liu.project.service;

import com.liu.project.pojo.UserCollection;

import java.util.List;

public interface UserCollectionService {

    //查看某用户的所有的收藏
    List<UserCollection> findAllByUid(int uid);

    //添加收藏记录
    boolean insertCollection(int uid,int certificateId);

    //删除收藏
    boolean deleteCollection(int id);

}
